#include <omp.h>
#include <iostream>
#define ENABLE_LOGGER
#include "logger.h"

int main() {
	omp_set_num_threads(1000);
	LOGGER_START(Logger::Priority::DEBUG, "log.out");

#pragma omp barrier
	
#pragma omp parallel 
{
	LOGGER_WRITE(Logger::Priority::ERROR, "Hello error!");	
}
#pragma omp barrier
	LOGGER_STOP();
	return 0;
}
